package com.nuanshui.heatedloan.controller.qiniu;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.nuanshui.framework.res.qiniu.Qiniu;
import com.nuanshui.heatedloan.controller.BaseController;

@RestController
public class QiniuController extends BaseController{
	
	@Autowired
	private Qiniu qiniu;
	
	@RequestMapping(value = "/getUpToken",method = RequestMethod.POST)
	public String getUpToken(){
		return success(qiniu.upToken());
	}
	
	
}
